package com.wxsh.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.wxsh.dao.UserMapper;
import com.wxsh.entity.User;
import com.wxsh.service.UserService;

@Service
public class UserServiceImpl implements UserService {
	
	@Autowired
	private UserMapper userMapper;

	@Override
	public User findById(Integer id) {
		User user = userMapper.selectByPrimaryKey(id);
		return user;
	}

}
